﻿<navigation:Page
x:Class="MedLink2011.Views.Patients.Controls.PediatricPSCsControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
mc:Ignorable="d"
x:Name="PediatricPSCControlUI"
Background="AliceBlue"
xmlns:E2C="clr-namespace:MedLink2011.Core"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:viewModels="clr-namespace:MedLink2011.Views.Patients.ViewModels" 
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
xmlns:appControls="clr-namespace:MedLink2011.Controls" 
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" 
xmlns:GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView">
<!--46 Fields --> 
<UserControl.Resources>
<viewModels:PediatricPSCViewModel x:Key="PediatricPSCViewModel" ></viewModels:PediatricPSCViewModel>
 <LinearGradientBrush x:Key="Windows7RowBackground" EndPoint="0.5,1" StartPoint="0.5,0">
 <GradientStop Color="#FFF7FBFF"/>
 <GradientStop Color="#FFDCE7F5" Offset="1"/>
 <GradientStop Color="#FFDFE9F6" Offset="0.494"/>
 </LinearGradientBrush>
 <ControlTemplate x:Key="MyCustomTelerikRowTemplate" TargetType="GridView:GridViewRow">
 <Border x:Name="rowsContainer" BorderBrush="#FFA0AFC3"
 Background="{StaticResource Windows7RowBackground}" BorderThickness="0,0,0,1">
 <Grid Width="Auto" HorizontalAlignment="Stretch">
 <Grid.RowDefinitions>
 <RowDefinition Height="Auto"/>
 <RowDefinition Height="Auto"/>
 </Grid.RowDefinitions>
 <Grid.ColumnDefinitions>
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="Auto" />
 </Grid.ColumnDefinitions>
 <StackPanel Grid.Column="0" Grid.Row="0" Orientation="vertical" Margin="5" >


<TextBlock Height="20"  Text="Pediatric Psc Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap" />
<TextBlock Height="20"  Text="Evaluation Date:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Psc Score:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Complains Of Aches And Pains Spends More Time Alone:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Tires Easily Has Little Energy:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Fidgety _unable To Sit Still:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Has Trouble With Teacher:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Less Interested In School:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Acts As If Driven By A Motor:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Daydreams Too Much:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />
<TextBlock Height="20"  Text="Distracted Easily:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" MaxWidth="180" TextWrapping="NoWrap"  />

</StackPanel>
<StackPanel  Grid.Column="1" Grid.Row="0" Orientation="vertical" Margin="5" >
<!-- uno -->
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding PediatricPSC_id}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Evaluation_Date_, StringFormat=\{0:dddd MMMM d yyyy HH:mm:ss\}}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding PSC_Score}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Complains_of_aches_and_painsSpends_more_time_alone}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Tires_easily__has_little_energy}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Fidgety__unable_to_sit_still}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Has_trouble_with_teacher}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Less_interested_in_school}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Acts_as_if_driven_by_a_motor}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Daydreams_too_much}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />
<TextBlock  Height="20" telerik1:StyleManager.Theme="Windows7" HorizontalAlignment="Left" Margin="1"  Text="{Binding Distracted_easily}" VerticalAlignment="Center" MaxWidth="180" FontWeight="Bold" TextWrapping="NoWrap" />

 </StackPanel>
 </Grid>
 </Border>
 </ControlTemplate>
 <Style x:Key="rowStyle" TargetType="GridView:GridViewRow">
 <Setter Property="Template" Value="{StaticResource MyCustomTelerikRowTemplate}" />
 </Style>
</UserControl.Resources>

 <appControls:BusyIndicator telerik1:StyleManager.Theme="Windows7" x:Name="BusyIndicator" BusyContent="Loading PediatricPSCs data...." DataContext="{Binding Source={StaticResource PediatricPSCViewModel}}" Foreground="SlateGray" IsBusy="{Binding IsBusy}">
 <Grid x:Name="LayoutRoot"  DataContext="{Binding Source={StaticResource PediatricPSCViewModel}}">
 <Border BorderBrush="#FF505050" BorderThickness="2" CornerRadius="3">
 <Border.Background>
 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
 <GradientStop Color="#ED71A5D8" Offset="0.8" />
 <GradientStop Color="AliceBlue" Offset="1.09" />
 </LinearGradientBrush>
 </Border.Background>
 <ScrollViewer  VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
 <Grid HorizontalAlignment="Left" x:Name="PediatricPSCsGrid" VerticalAlignment="Top" >
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
 <ColumnDefinition Width="30" />
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="Auto" />
 <ColumnDefinition Width="60" />
 <ColumnDefinition Width="400*" />
</Grid.ColumnDefinitions>




    <StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<!-- dos -->
<TextBlock Height="30" ToolTipService.ToolTip="Pediatric Psc Id" ToolTipService.Placement="Mouse" Text="Pediatric Psc Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="32" ToolTipService.ToolTip="Evaluation Date" ToolTipService.Placement="Mouse" Text="Evaluation Date:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Psc Score" ToolTipService.Placement="Mouse" Text="Psc Score:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Complains Of Aches And Pains Spends More Time Alone" ToolTipService.Placement="Mouse" Text="Complains Of Aches And Pains Spends More Time Alone:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Tires Easily Has Little Energy" ToolTipService.Placement="Mouse" Text="Tires Easily Has Little Energy:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Fidgety _unable To Sit Still" ToolTipService.Placement="Mouse" Text="Fidgety _unable To Sit Still:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Has Trouble With Teacher" ToolTipService.Placement="Mouse" Text="Has Trouble With Teacher:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Less Interested In School" ToolTipService.Placement="Mouse" Text="Less Interested In School:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Acts As If Driven By A Motor" ToolTipService.Placement="Mouse" Text="Acts As If Driven By A Motor:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Daydreams Too Much" ToolTipService.Placement="Mouse" Text="Daydreams Too Much:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Distracted Easily" ToolTipService.Placement="Mouse" Text="Distracted Easily:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Is Afraid Of New Situations" ToolTipService.Placement="Mouse" Text="Is Afraid Of New Situations:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Feels Sad Unhappy" ToolTipService.Placement="Mouse" Text="Feels Sad Unhappy:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Is Irritable Angry" ToolTipService.Placement="Mouse" Text="Is Irritable Angry:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Feels Hopeless" ToolTipService.Placement="Mouse" Text="Feels Hopeless:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Has Trouble Concentrating" ToolTipService.Placement="Mouse" Text="Has Trouble Concentrating:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Less Interested In Friends" ToolTipService.Placement="Mouse" Text="Less Interested In Friends:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Fights With Other Children" ToolTipService.Placement="Mouse" Text="Fights With Other Children:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Absent From School" ToolTipService.Placement="Mouse" Text="Absent From School:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="School Grades Dropping" ToolTipService.Placement="Mouse" Text="School Grades Dropping:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Is Down On Him Or Herself" ToolTipService.Placement="Mouse" Text="Is Down On Him Or Herself:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Visits The Doctor With Doctor Finding Nothing Wrong" ToolTipService.Placement="Mouse" Text="Visits The Doctor With Doctor Finding Nothing Wrong:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Has Trouble Sleeping" ToolTipService.Placement="Mouse" Text="Has Trouble Sleeping:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

<TextBlock Height="30" ToolTipService.ToolTip="Worries A Lot" ToolTipService.Placement="Mouse" Text="Worries A Lot:"   HorizontalAlignment="Left" Margin="0,10,0,0" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Wants To Be With You More Than Before" ToolTipService.Placement="Mouse" Text="Wants To Be With You More Than Before:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Feels He Or She Is Bad" ToolTipService.Placement="Mouse" Text="Feels He Or She Is Bad:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Takes Unnecessary Risks" ToolTipService.Placement="Mouse" Text="Takes Unnecessary Risks:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Gets Hurt Frequently" ToolTipService.Placement="Mouse" Text="Gets Hurt Frequently:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Seems To Be Having Less Fun" ToolTipService.Placement="Mouse" Text="Seems To Be Having Less Fun:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Acts Younger Than Children His Or Her Age" ToolTipService.Placement="Mouse" Text="Acts Younger Than Children His Or Her Age:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Does Not Listen To Rules" ToolTipService.Placement="Mouse" Text="Does Not Listen To Rules:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Does Not Show Feelings" ToolTipService.Placement="Mouse" Text="Does Not Show Feelings:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Does Not Understand Other People S Feelings" ToolTipService.Placement="Mouse" Text="Does Not Understand Other People S Feelings:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Teases Others" ToolTipService.Placement="Mouse" Text="Teases Others:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Blames Others For His Or Her Troubles" ToolTipService.Placement="Mouse" Text="Blames Others For His Or Her Troubles:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Takes Things That Do Not Belong To Him Or Her" ToolTipService.Placement="Mouse" Text="Takes Things That Do Not Belong To Him Or Her:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Refuses To Share" ToolTipService.Placement="Mouse" Text="Refuses To Share:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Has Emotional Or Behavioral Problems For Which Needs Help" ToolTipService.Placement="Mouse" Text="Has Emotional Or Behavioral Problems For Which Needs Help:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Need To Receive Services For These Problems" ToolTipService.Placement="Mouse" Text="Need To Receive Services For These Problems:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="What Services" ToolTipService.Placement="Mouse" Text="What Services:"   HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Mouse" Text="Patient Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />
<TextBlock Height="30" ToolTipService.ToolTip="Doctor Id" ToolTipService.Placement="Mouse" Text="Doctor Id:"  HorizontalAlignment="Left" Margin="1" VerticalAlignment="Center" Width="180" TextWrapping="Wrap" FontFamily="Verdana" FontSize="10.667" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >

<TextBlock  Height="30" HorizontalAlignment="Left" Margin="1" Text="{Binding CurrentPediatricPSC.PediatricPSC_id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" FontWeight="Bold" />
<sdk:DatePicker Style="{StaticResource JetPackDatePicker}" ToolTipService.ToolTip="Evaluation Date" ToolTipService.Placement="Mouse"  Height="30" HorizontalAlignment="Left" Margin="1"  SelectedDate="{Binding CurrentPediatricPSC.Evaluation_Date_, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Psc Score" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.PSC_Score, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Complains Of Aches And Pains Spends More Time Alone" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Complains_of_aches_and_painsSpends_more_time_alone, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Tires Easily Has Little Energy" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Tires_easily__has_little_energy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Fidgety _unable To Sit Still" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Fidgety__unable_to_sit_still, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Has Trouble With Teacher" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Has_trouble_with_teacher, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Less Interested In School" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Less_interested_in_school, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Acts As If Driven By A Motor" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Acts_as_if_driven_by_a_motor, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Daydreams Too Much" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Daydreams_too_much, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Distracted Easily" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Distracted_easily, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Is Afraid Of New Situations" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Is_afraid_of_new_situations, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Feels Sad Unhappy" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Feels_sad__unhappy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Is Irritable Angry" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Is_irritable__angry, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Feels Hopeless" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Feels_hopeless, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Has Trouble Concentrating" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Has_trouble_concentrating, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Less Interested In Friends" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Less_interested_in_friends, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Fights With Other Children" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Fights_with_other_children, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Absent From School" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Absent_from_school, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="School Grades Dropping" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.School_grades_dropping, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Is Down On Him Or Herself" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Is_down_on_him_or_herself, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Visits The Doctor With Doctor Finding Nothing Wrong" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Visits_the_doctor_with_doctor_finding_nothing_wrong, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Has Trouble Sleeping" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Has_trouble_sleeping, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>

<TextBox ToolTipService.ToolTip="Worries A Lot" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Worries_a_lot, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Wants To Be With You More Than Before" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Wants_to_be_with_you_more_than_before, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Feels He Or She Is Bad" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Feels_he_or_she_is_bad, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Takes Unnecessary Risks" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Takes_unnecessary_risks, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Gets Hurt Frequently" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Gets_hurt_frequently, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Seems To Be Having Less Fun" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Seems_to_be_having_less_fun, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Acts Younger Than Children His Or Her Age" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Acts_younger_than_children_his_or_her_age, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Does Not Listen To Rules" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Does_not_listen_to_rules, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Does Not Show Feelings" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Does_not_show_feelings, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Does Not Understand Other People S Feelings" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Does_not_understand_other_people_s_feelings, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Teases Others" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Teases_others, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Blames Others For His Or Her Troubles" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Blames_others_for_his_or_her_troubles, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Takes Things That Do Not Belong To Him Or Her" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Takes_things_that_do_not_belong_to_him_or_her, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<TextBox ToolTipService.ToolTip="Refuses To Share" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.Refuses_to_share, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="30"/>
<CheckBox ToolTipService.ToolTip="Has Emotional Or Behavioral Problems For Which Needs Help" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentPediatricPSC.Has_emotional_or_behavioral_problems_for_which_needs_help, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Need To Receive Services For These Problems" ToolTipService.Placement="Mouse" Content=""  Height="16" HorizontalAlignment="Left" Margin="8"  IsChecked="{Binding CurrentPediatricPSC.Need_to__receive_services_for_these_problems, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="70" FontSize="15" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="What Services" ToolTipService.Placement="Mouse" Height="30" HorizontalAlignment="Left" Margin="1"  Text="{Binding CurrentPediatricPSC.What_services, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="180" FontSize="15" HorizontalContentAlignment="Left"  MaxLength="250"/>

<ComboBox  ItemsSource="{Binding PatientCollection, Mode=TwoWay}" DisplayMemberPath = "First_Name" SelectedItem="{Binding SelectedPatient, Mode=TwoWay}" x:Name="Patient_IdComboBox"  VerticalAlignment="Top" Width="180" FontSize="15" Background="#FFFCF6EA" Height="30" Foreground="Black" Margin="1">
<ComboBox.BorderBrush>
<SolidColorBrush Color="#FF0E1601"/>
</ComboBox.BorderBrush>
</ComboBox>

<ComboBox  ItemsSource="{Binding DoctorCollection, Mode=TwoWay}" DisplayMemberPath = "First_Name" SelectedItem="{Binding SelectedDoctor, Mode=TwoWay}" x:Name="Doctor_IdComboBox"  VerticalAlignment="Top" Width="180" FontSize="15" Background="#FFFCF6EA" Height="30" Foreground="Black" Margin="1">
<ComboBox.BorderBrush>
<SolidColorBrush Color="#FF0E1601"/>
</ComboBox.BorderBrush>
</ComboBox>

</StackPanel>



                        <StackPanel Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="5">
                            <Button   x:Name="printButton" Content="Imprimir" Margin="0,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding PrintPediatricPSCCommand}"  />
                            <Button  x:Name="addButton" Content="Agregar Nueva" Margin="5,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding AddNewPediatricPSCCommand}" />
                            <Button   x:Name="saveButton" Content="Guardar" Margin="5,10,5,5"  Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding SavePediatricPSCCommand}"  />
                            <Button   x:Name="deleteButton" Content="Eliminar" Margin="5,10,5,5" Width="100"  Height="30" HorizontalAlignment="Left" Command="{Binding DeletePediatricPSCCommand}" />
                        </StackPanel>
                        
<StackPanel Grid.Column="4" Grid.Row="1" Orientation="vertical"  >
<!-- cuatro -->
<!--<Controls:RadDataPager telerik1:StyleManager.Theme="Windows7" Height="33" x:Name="PediatricPSCDataPager" PageSize="5" Margin="1,-5,1,1"  Source="{Binding Items, ElementName=PediatricPSCDataGrid}" DisplayMode="FirstLastPreviousNext" AutoEllipsisMode="Both" NumericButtonCount="0" IsTotalItemCountFixed="True" Style="{StaticResource RadDataPagerStyle1}"/>-->

<telerik:RadGridView telerik1:StyleManager.Theme="Windows7" ShowColumnHeaders="False" RowStyle="{StaticResource rowStyle}" MinHeight="200" Width="400" Height="200" ShowGroupPanel="False" CanUserFreezeColumns="False" ScrollMode="RealTime"  IsFilteringAllowed="False"   AutoGenerateColumns="False" IsReadOnly="True" GridLinesVisibility="None" DataContext="{Binding Source={StaticResource PediatricPSCViewModel}}" ItemsSource="{Binding PediatricPSCCollection, Mode=TwoWay}" x:Name="PediatricPSCDataGrid" Style="{StaticResource  RadGridViewStyle1}"   >
                             <i:Interaction.Triggers>
                                <i:EventTrigger EventName="SelectionChanged">
                                    <E2C:EventToCommand Command="{Binding SelectionChangedCommand}" PassEventArgsToCommand="True"  ></E2C:EventToCommand>
                                </i:EventTrigger>
                                <i:EventTrigger EventName="RowLoaded">
                                    <E2C:EventToCommand Command="{Binding RowLoadedCommand}" PassEventArgsToCommand="True"  ></E2C:EventToCommand>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                            <telerik:RadGridView.Columns >

<telerik:GridViewDataColumn x:Name="PediatricPSC_idColumn" DataMemberBinding="{Binding PediatricPSC_id}" Header="Pediatric Psc Id" Width="SizeToHeader" />
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>

    
   
    
    
    
    
    
</StackPanel>
    <!-- 2 -->
                    </Grid>
                </ScrollViewer>
            </Border>
        </Grid>
    </appControls:BusyIndicator>
</navigation:Page>
<!--

Now Parent Rels 

Patients
Doctors

3
-->
